import java.util.Scanner;
import java.util.Arrays;
import java.util.*;//导入所有的包，不是一下都导入，将来用到谁就导入谁

class A {
    public A() {
        this(100, 200);

        System.out.println();

        System.out.println("调用一个参数");
        System.out.println("A()");
    }

    public A(int a, int b) {
        System.out.println("调用两个参数");
        System.out.println("A(int a, int b)");
    }

    public int a = 111;
    public int b = 222;
}

public class Test1 {

    public static void main1(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a = scan.nextInt();

        String name = scan.next();
        System.out.println(name);
        System.out.println(a);
    }

    public static void main2(String[] args) {
        int[][] array = new int[2][];

        array[0] = new int[]{1, 2, 3};
        array[1] = new int[]{4, 5, 6};

        System.out.println(Arrays.toString(array));
        System.out.println(Arrays.deepToString(array));

        System.out.println();

        for (int i = 0; i < array.length; i++) {
            for (int j = 0; j < array[i].length; j++) {
                System.out.print(array[i][j] + " ");
            }
            System.out.println();
        }

        System.out.println();

        for (int[] arr : array) {
            for (int e : arr) {
                System.out.print(e + " ");
            }
            System.out.println();
        }
    }

    public static void main(String[] args) {
        A aa = new A(1, 1);
        System.out.println();

        A aa1 = new A();
    }

    //没有package的包都在默认的包里 -- 这个包就是stc
}
